'''
Author: your name
Date: 2021-04-01 16:39:28
LastEditTime: 2021-04-01 16:49:26
LastEditors: Please set LastEditors
Description: In User Settings Edit
FilePath: \genetic-algorithm-optimization\main.py
'''
from env.environment import *
from GA import *
import time

if __name__ == "__main__":
    starttime = time.time()
    env = Env()
    a = GA(100, 100, 32, 0.8, 0.2, env)
    a.GA_main()
    endtime = time.time()
    print("Runtime = " + str(endtime - starttime))

